@function pxtorem($px) {
    $base : 19.2px;
    @return $px / $base + rem;
}

@mixin background($src, $repeat : no-repeat, $left : center, $top : center) {
    background-image: url('@/assets/images/' + $src);
    background-position-x: $left;
    background-position-y: $top;
    background-repeat: $repeat;
}

@function pxtovw($px) {
    @return $px / 1920px * 100 + vW;
}

@function pxtovh($px) {
    @return $px / 1080px * 100 + vW;
}


$baseWidth : 1920;